/*
 * Copyright 2009 Bret Taylor
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may
 * not use this file except in compliance with the License. You may obtain
 * a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

body {
  background: white;
  color: black;
  margin: 0;
  margin-bottom: 25px;
}

body,
textarea {
  font-family: "SimSun", Georgia, serif;
  font-size: 12pt;
}

h1,
h2,
h3,
h4,
input {
  font-family: "Microsoft YaHei","WenQuanYi Zen Hei",SimHei, Helvetica, Arial, sans-serif;
  font-size: 12pt;
}

table {
  border-collapse: collapse;
  border: 0;
}

td {
  border: 0;
  padding: 0;
}

img {
  border: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

pre,
code {
  font-family: monospace;
  color: #050;
}

pre {
  margin: 17pt;
  margin-right: 0;
  padding-left: 15pt;
  border-left: 1px solid #ddd;
  line-height: 16pt;
  overflow: auto;
}

a,
a code {
  color: #00c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#header {
  background: #112B00;
  padding: 8px;
  padding-left: 15px;
  padding-right: 15px;
  font-family: "Microsoft YaHei","WenQuanYi Zen Hei",SimHei, Helvetica, Arial, sans-serif;
  /*line-height: 0;*/
  height: 80px;
}

#header div.title {
  font-size: 3em;
}

#header .menu,
#header .search {
  float: right;
}

#header .menu span {
  margin-left: 18px;
}

#header a { 
	color: white;
	text-decoration: none;
}

#header a:hover {
  text-decoration: underline;
}

#footer,
#content {
  margin: 25px auto;
  max-width: 90%;
}

#footer {
  clear:both;
}

#sidebar {
  float: right;
  line-height: 0;
  width: 15%;
}

#sidebar .section {
  padding-bottom: 30px;
}

#sidebar .headline {
  padding-top: 15px;
}

#sidebar .section ul.tags {
  list-style: url(/static/tagicon.png)
}

#entries {
  margin-right: 20%;
}

#content h1 {
  font-size: 20pt;
  border-left: 1.4em solid #338000;
  padding-left: 0.3em;
  text-shadow: 1px 2px 4px #AAAAAA;
}

.entry h1 a {
  color: black;
  text-decoration: none;
}

.entry h2 {
  font-size: 15pt;
  margin-bottom: 3pt;
}

.entry {
  margin-bottom: 2em;
  border: 1px solid transparent;
}
/*
.entry:hover {
  border: 1px solid #CCC;
}
*/
.entry .info {
  margin-top: 3px;
  height: 100%;
  overflow: hidden;
}

.entry .info .tags{
  float: right;
}

.entry .info .tags a{
  border-left: 1em solid #FF4C1C;
  padding-left: 0.5em;
  padding-right: 0.5em;
  font-size: 0.9em;
}

.entry .body {
  margin-top: 1em;
}

.entry .footer {
  margin-top: 1em;
}

#comment {
  float:left;
}

#content p,
#content li {
  line-height: 17pt;
}

#content p {
  margin: 0;
  margin-bottom: 1em;
}

#entries p {
  text-indent: 2em;
}

.entry #disqus_thread {
  margin-top: 4em;
  font-family: "Microsoft YaHei","WenQuanYi Zen Hei",SimHei, Helvetica, Arial, sans-serif;
}

.entry #disqus_thread p,
.entry #disqus_thread li {
  line-height: normal;
}

ul.archive {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.archive li {
    margin-bottom: 1em;
}

ul.archive .title {
font-family: "Microsoft YaHei","WenQuanYi Zen Hei",SimHei, Helvetica, Arial, sans-serif;
font-size: 14pt;
}
blockquote {
 border-left:2px solid #44bb44;
 padding-left:0.2em;
}
blockquote > blockquote {
 border-left:2px solid #bb4444;
}
blockquote > blockquote > blockquote {
 border-left:2px solid #4444bb;
}

